package com.lagou.edu.pojo;

import com.lagou.edu.annotation.Autowired;
import com.lagou.edu.annotation.Service;

@Service
public class Order {
    private String orderNo = "qqww20201441020";
    private String desc = "测试单";
    @Autowired
    private User user;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderNo='" + orderNo + '\'' +
                ", desc='" + desc + '\'' +
                ", user=" + user +
                '}';
    }
}
